package com.agileboot.attendance.common.enums;

import com.agileboot.common.enums.BasicEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 请假类型枚举
 *
 * @author ruoyi
 */
@Getter
@AllArgsConstructor
public enum LeaveTypeEnum implements BasicEnum<String> {

    /**
     * 事假
     */
    PERSONAL("1", "事假"),

    /**
     * 病假
     */
    SICK("2", "病假"),

    /**
     * 年假
     */
    ANNUAL("3", "年假"),

    /**
     * 调休
     */
    COMPENSATORY("4", "调休"),

    /**
     * 婚假
     */
    MARRIAGE("5", "婚假"),

    /**
     * 产假
     */
    MATERNITY("6", "产假"),

    /**
     * 陪产假
     */
    PATERNITY("7", "陪产假"),

    /**
     * 丧假
     */
    BEREAVEMENT("8", "丧假"),

    /**
     * 其他
     */
    OTHER("9", "其他");

    private final String value;
    private final String description;
    
    @Override
    public String getValue() {
        return value;
    }
    
    @Override
    public String description() {
        return description;
    }
} 